COMPILE_DEPS = [
  '//lib:CORE_DEPS',
  '//core/store/serializers:onos-core-serializers',
  '//lib:org.apache.karaf.shell.console',
  '//lib:javax.ws.rs-api',
  '//utils/rest:onlab-rest',
  '//cli:onos-cli',
  '//apps/openstacknode/api:onos-apps-openstacknode-api',
  '//lib:openstack4j-core',
]

TEST_DEPS = [
    '//lib:TEST_ADAPTERS',
    '//core/api:onos-api-tests',
    '//core/common:onos-core-common-tests',
]

osgi_jar_with_tests (
  deps = COMPILE_DEPS,
  test_deps = TEST_DEPS,
  web_context = '/onos/openstacknetworking',
  api_title = 'OpenStack Networking App API',
  api_version = '1.0',
  api_description = 'REST API for OpenStack Networking App',
  api_package = 'org.onosproject.openstacknetworking.web',
)

onos_app (
  app_name = 'org.onosproject.openstacknetworking',
  title = 'OpenStack Networking App',
  category = 'Utility',
  url = 'http://onosproject.org',
  description = 'OpenStack Networking application.',
  required_apps = [
    'org.onosproject.openstacknode'
  ]
)
